package com.buka.system.pojo;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "itbuka_address")
@Data
public class Address implements java.io.Serializable {
    @Id
    private Long id;

    /**
     * 用户名称
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 收件人
     */
    private String addressee;

    /**
     * 收件地区
     */
    @Column(name = "receiving_area")
    private String receivingArea;

    /**
     * 详细地址
     */
    @Column(name = "full_address")
    private String fullAddress;

    /**
     * 手机号码

     */
    @Column(name = "phone_num")
    private Integer phoneNum;

    /**
     * 默认地址（0否 1是）
     */
    @Column(name = "default_address")
    private String defaultAddress;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 删除标识（0未删 1已删）
     */
    @Column(name = "is_delete")
    private Integer isDelete;
}